﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.Base;
    using UFIDA.U9.Base.Currency;
    using UFIDA.U9.Base.Organization;
    using UFIDA.U9.Base.UOM;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.CBO.SCM.Item;
    using UFIDA.U9.CBO.SCM.PickList;
    using UFIDA.U9.CBO.SCM.Supplier;
    using UFIDA.U9.CBO.SCM.Warehouse;
    using UFIDA.U9.PM.PMIssue;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Business;
    using UFSoft.UBF.Util.Context;

	/// <summary>
	/// PMIssueSaveSV partial 
	/// </summary>	
	public partial class PMIssueSaveSV 
	{	
		internal BaseStrategy Select()
		{
			return new PMIssueSaveSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class PMIssueSaveSVImpementStrategy : BaseStrategy
	{
		public PMIssueSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			PMIssueSaveSV bpObj = (PMIssueSaveSV)obj;

			return CodeUtils.DocSaveRT(bpObj, bpObj.Data, PMIssueBase.CreateDoc, PMIssueBase.ApproveDoc);
		}

        

        
    }		
	#endregion
	
}